// @author A0096579E

package rightnow.storage;

import java.util.HashMap;

import com.eaio.uuid.UUID;

/**
 * StorageState holds a state of Storage in the form of a HashMap and the 
 * operation performed to reach that state in the form of a String.
 */
class StorageState {
	private HashMap<UUID, Task> state;
	private final String stateMessage;
	
	StorageState(HashMap<UUID, Task> state, String stateMessage) {
		this.state = state;
		this.stateMessage = stateMessage;
	}
	
	HashMap<UUID, Task> getState() {
		return this.state;
	}
	
	String getStateMessage() {
		return this.stateMessage;
	}
	
}
